<?php echo CHtml::link(($hasChild ? CHtml::tag('span', array('class'=>'collapse expand'), 'Toggle') : '').CHtml::encode($model->title), array('/Cms/admin/page/update', 'id'=>$model->id), array('title'=>$model->title));?>